<template>
  <el-dialog :visible.sync="visible" v-dialogDrag :title="title" :close-on-click-modal="false" class="tl-dialog" width="1200px" @open="open" @close="close">
    <el-form class="tl-form" ref="form" :model="model" :rules="rules" label-width="150px" :disabled="disableEditSubmit">
			<el-row>
				<el-col :span="12">
					<el-form-item label="用户工号" prop="usercode" >
						<el-input v-model="model.usercode"></el-input>
					</el-form-item>
				</el-col>
				<el-col :span="12">
					<el-form-item label="用户姓名" prop="username" >
						<el-input v-model="model.username"></el-input>
					</el-form-item>
				</el-col>
			</el-row>
			<el-row>
				<el-col :span="12">
					<el-form-item label="版本号" prop="versioncode" >
						<el-input v-model="model.versioncode"></el-input>
					</el-form-item>
				</el-col>
				<el-col :span="12">
					<el-form-item label="版本名称" prop="versionname" >
						<el-input v-model="model.versionname"></el-input>
					</el-form-item>
				</el-col>
			</el-row>
			<el-row>
				<el-col :span="12">
					<el-form-item label="手机类型" prop="devicetype" >
						<el-input v-model="model.devicetype"></el-input>
					</el-form-item>
				</el-col>
				<el-col :span="12">
					<el-form-item label="用户电话" prop="usertel" >
						<el-input v-model="model.usertel"></el-input>
					</el-form-item>
				</el-col>
			</el-row>
			<el-row>
				<el-col :span="12">
					<el-form-item label="公司名称" prop="companyname" >
						<el-input v-model="model.companyname"></el-input>
					</el-form-item>
				</el-col>
				<el-col :span="12">
					<el-form-item label="部门名称" prop="deptname" >
						<el-input v-model="model.deptname"></el-input>
					</el-form-item>
				</el-col>
			</el-row>
			<el-row>
				<el-col :span="24">
					<el-form-item label="金刚区" prop="corearea" >
						<el-input v-model="model.corearea" type="textarea" :rows="4"></el-input>
					</el-form-item>
				</el-col>
			</el-row>
			<el-row>
				<el-col :span="24">
					<el-form-item label="最近使用" prop="recentlyusedarea" >
						<el-input v-model="model.recentlyusedarea" type="textarea" :rows="4"></el-input>
					</el-form-item>
				</el-col>
			</el-row>
			<el-row>
				<el-col :span="24">
					<el-form-item label="一级目录排序" prop="firstleveldirectory" >
						<el-input v-model="model.firstleveldirectory" type="textarea" :rows="4"></el-input>
					</el-form-item>
				</el-col>
			</el-row>
      <el-row>
				<el-col :span="24">
					<el-form-item label="文档中心" prop="firstleveldirectory" >
						<el-input v-model="model.extendfield1" type="textarea" :rows="4"></el-input>
					</el-form-item>
				</el-col>
			</el-row>
    </el-form>
    <div slot="footer" class="dialog-footer">
      <el-button :type="disableEditSubmit === false ? 'text' : 'primary'" @click="doCancelEdit">取消</el-button>
      <el-button type="primary" @click="doSubmitEdit" :loading="saveLoading" v-if="disableEditSubmit === false">确认</el-button>
    </div>
  </el-dialog>
</template>

<script>
/** mixins */
import { mixin_edit } from '@tapui/mixins/mixin_edit'
/** 子组件 */
/** 工具类 */
import { putAction, getAction, postAction, deleteAction } from '@tapui/utils/http'
/** VUE配置 */
export default {
  mixins: [mixin_edit],
  components: { },
  data() {
    return {
      moduleTitle: '用户使用信息',
      urlPrefix: '/appv2/appUserUseInfo/',
      url: {
        // 额外的url
      }
    }
  },
  methods: {
    loaded() {
      // 页面加载完毕执行
    }
  }
}
</script>

